package com.yuncheng.spcyApi.service.impl;

import com.yuncheng.spcyApi.entity.SpcyDaType;
import com.yuncheng.spcyApi.mapper.SpcyDaTypeMapper;
import com.yuncheng.spcyApi.service.ISpcyDaTypeService;
import com.yuncheng.spcyApi.vo.da.DaTypeTreeVo;
import org.springframework.stereotype.Service;

import com.yuncheng.common.base.service.impl.BaseServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 审评查验-档案-档案分类
 * @Author: yuncheng
 * @Date: 2023-08-09
 * @Version: V1.0
 */
@Service
public class SpcyDaTypeServiceImpl extends BaseServiceImpl<SpcyDaTypeMapper, SpcyDaType> implements ISpcyDaTypeService {
    @Resource
    private SpcyDaTypeMapper spcyDaTypeMapper;

    @Override
    public List<DaTypeTreeVo> selectAllType(String type) {
        return spcyDaTypeMapper.selectAllType(type);
    }
}
